package com.scau402.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scau402.common.annotation.Excel;
import com.scau402.common.core.domain.BaseEntity;

/**
 * 直播排班记录对象 wms_stream_schedule
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class WmsStreamSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班主键ID */
    private Long id;

    /** 排班排号编号 */
    @Excel(name = "排班排号编号")
    private String scheduleCode;

    /** 直播间ID */
    @Excel(name = "直播间ID")
    private Long studioId;

    /** 主播ID */
    @Excel(name = "主播ID")
    private Long streamHostId;

    /** 直播平台 */
    @Excel(name = "直播平台")
    private String streamPlatform;

    /** 直播班次 */
    @Excel(name = "直播班次")
    private String streamShift;

    /** 直播状态 */
    @Excel(name = "直播状态")
    private String streamStatus;

    /** 直播开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "直播开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 直播结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "直播结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 预设扣点 */
    @Excel(name = "预设扣点")
    private BigDecimal deductionPoints;

    /** 状态（0启用 1停用） */
    @Excel(name = "状态", readConverterExp = "0=启用,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScheduleCode(String scheduleCode) 
    {
        this.scheduleCode = scheduleCode;
    }

    public String getScheduleCode() 
    {
        return scheduleCode;
    }
    public void setStudioId(Long studioId) 
    {
        this.studioId = studioId;
    }

    public Long getStudioId() 
    {
        return studioId;
    }
    public void setStreamHostId(Long streamHostId) 
    {
        this.streamHostId = streamHostId;
    }

    public Long getStreamHostId() 
    {
        return streamHostId;
    }
    public void setStreamPlatform(String streamPlatform) 
    {
        this.streamPlatform = streamPlatform;
    }

    public String getStreamPlatform() 
    {
        return streamPlatform;
    }
    public void setStreamShift(String streamShift) 
    {
        this.streamShift = streamShift;
    }

    public String getStreamShift() 
    {
        return streamShift;
    }
    public void setStreamStatus(String streamStatus) 
    {
        this.streamStatus = streamStatus;
    }

    public String getStreamStatus() 
    {
        return streamStatus;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDeductionPoints(BigDecimal deductionPoints) 
    {
        this.deductionPoints = deductionPoints;
    }

    public BigDecimal getDeductionPoints() 
    {
        return deductionPoints;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scheduleCode", getScheduleCode())
            .append("studioId", getStudioId())
            .append("streamHostId", getStreamHostId())
            .append("streamPlatform", getStreamPlatform())
            .append("streamShift", getStreamShift())
            .append("streamStatus", getStreamStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("deductionPoints", getDeductionPoints())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .append("tenantId", getTenantId())
            .toString();
    }
}
